package com.ruoyi.client.mapper;

import com.ruoyi.bookbus.domain.BookOrderItem;
import com.ruoyi.client.pojo.vo.OrderItemVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("ClientOrderItemMapper")
public interface OrderItemMapper {

    /**
     * 批量插入订单项
     */
    int insertBatch(List<BookOrderItem> orderItems);

    /**
     * 根据订单ID查询订单项VO列表
     */
    List<OrderItemVo> selectVoListByOrderId(Long orderId);
}

